<template>
    <div>
        <h4>{{$route.params.id}}</h4>
        <h4>{{$route.params.name}}</h4>
    </div>
</template>
<script>
export default {
    name:'Detail',
    mounted() {
        console.log(this.$route)
    },
}
</script>
<style>
    
</style>